package com.wzy.vx.enums;

import lombok.Getter;
import org.aspectj.apache.bcel.classfile.Code;

/**
 * @ProjectName: vx
 * @Package: com.wzy.vx.enums
 * @ClassName: ProductStatusEnum
 * @Author: Administrator
 * @Description: ${description}
 * @Date: 2019/3/19 14:05
 * @Version: 1.0
 */
@Getter
public enum ProductStatusEnum implements CodeEnum {
    UP(0,"在架"),
    DOWN(1,"下架")
    ;
    private Integer code;
    private  String msg;

    ProductStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public Integer getCode() {
        return code;
    }



}
